home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
lists
/
gem
/
l_1199
/
1043
< prev
next >
Wrap
Internet Message Format
|
1994-08-27
|
3KB
Date: Tue, 26 Jul 1994 18:20:14 -0400 (EDT)
From: Timothy Miller <millert@undergrad.csee.usf.edu>
Subject: Re: digest
To: gem-list@world.std.com
In-Reply-To: <2e34ef4ea9e4d@elfhaven.ersys.edmonton.ab.ca>
Message-Id: <Pine.3.87.9407261814.B10263-0100000@grad>
Mime-Version: 1.0
Precedence: bulk
Wolfgang:
]So first field will be the name of the function, for example OPEN for
]opening what ever. Second field shows what should appear in the menu-bar
]and third field is the keycode refereing to it. The application
]specific codes may start with the short name of the application
](here ABCD) followed by the specific function.
You cannot use hardware scancodes for key definitions if you want this to
work for more than one type of Atari keyboard! You have to specify the
key as an ASCII code. If you run into situations where two keys have the
same ASCII code, like Ctrl-H and Backspace, then you redefine Ctrl-H,
because one would not normally define Backspace to be anything other than
backspace, while one WOULD assign something special to Ctrl-H.
Since Tab, Return, Enter, Escape, Delete, and Backspace don't change from
keyboard to keyboard, then the way to tell Backspace from Ctrl-H, for
example, is to check the ASCII code for the value 8, then check it
against the hardware scancode for Backspace. If it's NOT Backspace, then
you know it's Ctrl-H. Simple and portable.
Baker:
]In that case it is unlikely that any programs developed in it will meet
]the GEM-list standard. Most other libraries try to make it as easy as
]possible for the programmer to write standards-conforming programs,
]winlib it seems tries to do the opposite and makes it easy for programmers
]to write programs completely unlike any others for the atari.
Requring developers to use a standard key file will NOT make it as easy
as possible for developers to write conforming software. This means they
have to add in extra code to deal with the key definition file.
] > Ok... you just threw away part of the OS and told peope to replace it
] > with their own code (or a library).
]The extra code is fairly minimal - wait for events, if it's a keyboard event
]and the top window is your dialogue, call objc_find, form_keybd and
objc_edit.
]If it's a button event, use wind_find and if it returns your dialogue call
]objc_find, form_button and if necessary objc_draw. Very little extra
code. The
]FLDLIB library (a simple lib that does little more than I described) is
about
]4k.
The extra code in MY application framework is fairly minimal, but it's
still an infant. Other developers have libraries that are in excess of
200k! That is FAR from minimal
Anyone:
Where/When can I get the new version of MultiTOS?